﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dao.Impl
{
    /// <summary>
    /// 服务层基类
    /// </summary>
    /// <typeparam name="M"></typeparam>
    /// <typeparam name="T"></typeparam>
    public abstract class BaseDaoImpl<M, T> : BaseDao<M, T>
    {
        public abstract int Delete(M m);

        public abstract int Save(T t);

        public abstract List<T> Search(T t);

        public abstract T SearchByPrimaryKey(M m);

        public abstract T SearchOne(T t);

        public abstract int Update(T t);
    }
}
